home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 July: Mac OS SDK / Dev.CD Jul 97 SDK1.toast / Development Kits (Disc 1) / QuickDraw 3D / Samples / SampleCode / TriGrids / Headers / TriGrid3DSupport.h < prev    next >
Encoding:
Text File  |  1996-05-21  |  918 b   |  42 lines  |  [TEXT/MPS ]

  1. // My3dSupport.c - QuickDraw 3d routines - interface
  2. //
  3. // This file contains
  4. //
  5. // Created 27th Dec 1994, Nick Thompson, DEVSUPPORT
  6. //
  7. // Modification History:
  8. //
  9. //    12/27/94        nick        initial version
  10.  
  11. #ifndef _BOX3DSUPPORT_H_
  12. #define _BOX3DSUPPORT_H_
  13.  
  14. // Macintosh System Stuff
  15. #include <Types.h>
  16. #include <Windows.h>
  17.  
  18. // QuickDraw 3D stuff
  19. #include "QD3D.h"
  20. #include "QD3DErrors.h"
  21. #include "QD3DView.h"
  22.  
  23. //---------------------------------------------------------------------------------------
  24.  
  25. OSErr MyQD3DInitialize( void ) ;
  26. OSErr MyQD3DExit() ;
  27.  
  28. TQ3ViewObject         MyNewView(WindowPtr theWindow) ;
  29. TQ3DrawContextObject MyNewDrawContext( WindowPtr theWindow) ;
  30. TQ3CameraObject         MyNewCamera(WindowPtr theWindow) ;
  31. TQ3GroupObject        MyNewLights(void) ;
  32. TQ3GroupObject         MyNewModel(void) ;
  33.  
  34. TQ3Point3D AdjustCamera(
  35.     TQ3ViewObject        theView,
  36.     TQ3GroupObject        mainGroup,
  37.     short                winWidth,
  38.     short                winHeight) ;
  39.  
  40.  
  41. #endif
  42.